-
Notifications
You must be signed in to change notification settings - Fork 17
Get_FIFO_Watermark_Status #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get_FIFO_Watermark_Status #13
Conversation
added support for direct FIFO_STATUS2:FIFO_ WTM_IA access
This reverts commit c969f92.
Added LSM6DSOXSensor::Get_FIFO_Watermark_Status(uint8_t *Status) and code example.
|
Hi @alvaro-oliver , |
Hi @cparata , how about now? |
|
Hi @alvaro-oliver , |
|
Hi @alvaro-oliver , |
|
Hi @cparata , The part I just don't get is why checking FIFO full status twice: ` Maybe you meant to enable Set_FIFO_INT1_FIFO_Threshold event instead of Set_FIFO_INT1_FIFO_Full. That would make much more sense to me, since you are resizing buffer to watermark level, you would be checking threshold interrupt status first and then polling for FIFO full status (just for demonstrating buffer resize). |
|
Hi @alvaro-oliver , |
Simplified FIFO interrupt example, as proposed by @cparata Co-Authored-By: Carlo Parata <[email protected]>
|
Hi @cparata , example updated. |
|
Merged! Thanks again for your contribution! |
Added LSM6DSOXSensor::Get_FIFO_Watermark_Status(uint8_t *Status) and code example.